#!/usr/bin/python
# -*- coding: utf-8 -*-

from models import Var, VarGroup
from django.contrib import admin





class VarGroupAdmin(admin.ModelAdmin):
    name="test"
    fields=['name','var']


class VarAdmin(admin.ModelAdmin):
    fields=['name','type','value','advanced']

admin.site.register(Var, VarAdmin)
admin.site.register(VarGroup, VarGroupAdmin)
